<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>[#if reset==1 && type==0 ]修改邮箱[#elseif reset==0 && type==0]绑定邮箱[#elseif reset==1 && type==1]修改手机[#elseif reset==0 && type==1]绑定手机[/#if]</title>
<script src="/res/js/common/jquery.1.9.1.min.js" type="text/javascript"></script>
<script src="/res/js/common/common.js" type="text/javascript"></script>
<script src="/res/third/layer/layer.js" type="text/javascript"></script>
<script src="/res/js/common/emailwebsite.js" type="text/javascript"></script>
<script src="/res/js/safecenter/sendsigncode.js" type="text/javascript"></script>
<link href="/res/css/respective/safecenter/back-safe.css" rel="stylesheet">
</head>
[#assign menucode="accountSet"/]
<body>
	<div class="warp">
    [#include "/front/common/front_headAzt.html"]
         <div class="backcontent">
    [#include "/front/common/front_leftAzt.html"]
            <div class="back-main">
            	<div class="inner back-safe">
                	 <div class="title">[#if reset==1 && type==0 ]修改邮箱[#elseif reset==0 && type==0]绑定邮箱[#elseif reset==1 && type==1]修改手机[#elseif reset==0 && type==1]绑定手机[/#if]</div>
                     <div class="bindEmail">
                     	 <div class="step">
                         	<ul>
                            	<li class="on"><span></span><b>1</b><p>验证身份</p></li>
                                <li class="on"><span></span><b>2</b><p>[#if reset==1 && type==0 ]修改邮箱[#elseif reset==0 && type==0]绑定邮箱[#elseif reset==1 && type==1]修改手机[#elseif reset==0 && type==1]绑定手机[/#if]</p></li>
                                <li><span></span><b>3</b><p>完成</p></li>
                            </ul>
                         </div>
                         <form id="safeform" action="/safecenter/bindOrReset3" method="post">
                         <input type="hidden" name="reset" value="${reset!}">
                         <input type="hidden" name="type" value="${type!}">
                           [#if (reset==0 && type==0) || (reset==1 && type==0)]<!-- 修改邮箱或绑定手机 都有原来的邮箱  -->
                         <div class="safeform emailfrom">
                         	<ul>
                            	<li>
                                	<label>邮箱：</label>
                                    <div class="formfile">
                                    	<input type="text" class="backinput" placeholder="请输入邮箱" maxlength="100" name="contactname" data-rule="required;email;remote[/safecenter/checkusername, contactname]" data-msg-required="请输入邮箱" data-msg-email="不像是有效的电子邮箱。"  data-target="#sendemail"/> <a href="javascript:void(0);" atttip="emailTip"   class="sendma">获取邮箱验证码</a><span  id="sendemail"></span>
                                        <span  class="emailtip" style="display:none;">验证码已发送到您的邮箱，请<a href="#" target="_blank" >立即查收</a></span>
                                    </div>
                                </li>
                                <li>
                                	<label>验证码：</label>
                                    <div class="formfile">
                                    	<input type="text" class="backinput" maxlength="6" id="code" name="code" placeholder="请输入验证码"/>
                                    </div>
                                </li>
                                <li>
                            	<label>&nbsp;</label>
                                <div class="formfile">
                                	<a href="javascript:void(0);" class="abtn abtn-large" onclick="next()">下一步</a>
                                </div>
                                </li>
                            </ul>
                         </div>
                           [#elseif (reset==1 && type==1) || (reset==0 && type==1)]<!-- 绑定邮箱或修改手机  都有原来的手机号验证身份  -->
                         <div class="safeform emailfrom">
                         	<ul>
                            	<li>
                                	<label>手机号：</label>
                                    <div class="formfile">
                                    	<input type="text" class="backinput" placeholder="请输入手机号" name="contactname"  maxlength="11" data-rule="required;mobile;remote[/safecenter/checkusername, contactname]" data-msg-required="请输入手机号" data-msg-mobile="不像是有效的手机号码。"  data-target="#sendemail"/> <a href="javascript:void(0);" class="sendma"    atttip="mobileTip">获取短信验证码</a><span  id="sendemail"></span>
                                    </div>
                                </li>
                                <li>
                                	<label>短信验证码：</label>
                                    <div class="formfile">
                                    	<input type="text" class="backinput" id="code" name="code" maxlength="6" placeholder="请输入验证码" />
                                    </div>
                                </li>
                                <li>
                            	<label>&nbsp;</label>
                                <div class="formfile">
                                	<a href="javascript:void(0);" class="abtn abtn-large" onclick="next()">下一步</a>
                                </div>
                                </li>
                            </ul>
                         </div>
                        [/#if]
                        </form>
                     </div>
                </div>
            </div>
         </div>
         
 		<!-- 底部菜单-->
		[#include "/front/common/front_footerAzt.html"]
    </div>
    <script src="/res/third/nice-validator/jquery.validator.js?local=zh-CN" type="text/javascript"></script>
</body>
</html>
